package prod_line

const (
	CmdCommunicateReq  = 0xFE
	CmdCommunicateResp = 0xFF

	CmdStartReq  = 0xB0
	CmdResp      = 0xF0
	CmdRecodeReq = 0xBA

	CmdCheckResp    = 0xE0
	CmdCodingResult = 0xE1
	CmdCodeReq      = 0xB1
	CmdLaserReq     = 0xB2
)

var cmdMap = make(map[byte]byte)

func init() {
	cmdMap[CmdCommunicateReq] = 0x01
	cmdMap[CmdCommunicateResp] = 0x01

	cmdMap[CmdStartReq] = 0x01
	cmdMap[CmdResp] = 0x01
	cmdMap[CmdRecodeReq] = 0x01
	cmdMap[CmdCheckResp] = 0x01
	cmdMap[CmdCodingResult] = 0x01
	cmdMap[CmdCodeReq] = 0x01
	cmdMap[CmdLaserReq] = 0x01
}
